SERVER=server 
CLIENT=client 

CC=g++
FLAG = -std=c++11

SERVER_SRC=Server.cc 
CLIENT_SRC=Client.cc 

.PHONY:all
all:$(SERVER) $(CLIENT)

$(SERVER):$(SERVER_SRC)
	$(CC) -o $@ $^ $(FLAG)

$(CLIENT):$(CLIENT_SRC)
	$(CC) -o $@ $^ $(FLAG)

.PHONY:clean
clean:
	rm -f $(SERVER) $(CLIENT)
